package com.dk.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * Description:
 *
 * @author WangDk
 * @date:2021/10/12 10:36
 */
@Data
@NoArgsConstructor
public class UserDto {
    private String userName;
    private String userAge;
    private String userAddress;
    /**
     * UserDo的属性为String；
     */
    private LocalDateTime time;
    public UserDto(String userName, String userAge, String userAddress) {
        this.userName = userName;
        this.userAge = userAge;
        this.userAddress = userAddress;
    }
}
